
package com.fire.eyes.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import cn.afterturn.easypoi.excel.annotation.Excel;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * 业主单位用户
 *
 * @author Matthew
 * @Date 2019-01-17 20:15
 */
@TableName("t_mit_fire_proprietor_user")
public class FireProprietorUserModel extends Model<FireProprietorUserModel> {

    private static final long serialVersionUID = 1L;


    /**
     * 用户号
     *
     */
    @TableField(value="userid")
    @Excel(name = "用户号")
    @TableId(value = "userid", type = IdType.INPUT)
    private Integer userid;
    /**
     * 用户名称
     *
     */
    @TableField(value="username")
    @Excel(name = "用户名称")
    private String username;
    /**
     * 业主单位ID
     *
     */
    @TableField(value="proprietor")
    @Excel(name = "业主单位ID")
    private String proprietor;
    /**
     * 创建时间
     *
     */
    @TableField(value="createtime")
    @Excel(name = "创建时间")
    private Date createtime;
    /**
     * 电话
     *
     */
    @TableField(value="phone")
    @Excel(name = "电话")
    private String phone;
    /**
     * 更新时间
     *
     */
    @TableField(value="updatetime")
    @Excel(name = "更新时间")
    private Date updatetime;
    /**
     * 证件照片
     *
     */
    @TableField(value="imageurl")
    @Excel(name = "证件照片")
    private String imageurl;
    /**
     * 身份证
     *
     */
    @TableField(value="identification")
    @Excel(name = "身份证")
    private String identification;
    /**
     * adminid
     *
     */
    @TableField(value="adminid")
    @Excel(name = "adminid")
    private String adminid;
    /**
     * 获取: 用户号
     *
     */
    public Integer getUserid() {
        return userid;
    }
    /**
     * 设置: 用户号
     *
     */
    public void setUserid(Integer userid) {
        this.userid = userid;
    }
    /**
     * 获取: 用户名称
     *
     */
    public String getUsername() {
        return username;
    }
    /**
     * 设置: 用户名称
     *
     */
    public void setUsername(String username) {
        this.username = username;
    }
    /**
     * 获取: 业主单位ID
     *
     */
    public String getProprietor() {
        return proprietor;
    }
    /**
     * 设置: 业主单位ID
     *
     */
    public void setProprietor(String proprietor) {
        this.proprietor = proprietor;
    }
    /**
     * 获取: 创建时间
     *
     */
    public Date getCreatetime() {
        return createtime;
    }
    /**
     * 设置: 创建时间
     *
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
    /**
     * 获取: 电话
     *
     */
    public String getPhone() {
        return phone;
    }
    /**
     * 设置: 电话
     *
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }
    /**
     * 获取: 更新时间
     *
     */
    public Date getUpdatetime() {
        return updatetime;
    }
    /**
     * 设置: 更新时间
     *
     */
    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
    /**
     * 获取: 证件照片
     *
     */
    public String getImageurl() {
        return imageurl;
    }
    /**
     * 设置: 证件照片
     *
     */
    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }
    /**
     * 获取: 身份证
     *
     */
    public String getIdentification() {
        return identification;
    }
    /**
     * 设置: 身份证
     *
     */
    public void setIdentification(String identification) {
        this.identification = identification;
    }
    /**
     * 获取: adminid
     *
     */
    public String getAdminid() {
        return adminid;
    }
    /**
     * 设置: adminid
     *
     */
    public void setAdminid(String adminid) {
        this.adminid = adminid;
    }

    @Override
    protected Serializable pkVal() {
        return this.userid;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }
}
